package com.mcxx.aspect.annotation;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;



@Inherited
@Documented
@Target({ElementType.FIELD, ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface BizVisitLimit {

    String key() default "";


    int minPeriod() default 3;


    int maxTimes() default 20;


    String msg() default "接口访问太频繁，请稍后再试";
}
